package com.itheima.service.mongo;

import com.itheima.domain.mongo.Comment;
import com.itheima.vo.PageBeanVo;

public interface CommentService {

    //保存动态评论(返回操作之后的次数)
    Integer saveMovementComment(Comment comment);

    //删除动态评论(返回操作之后的次数)
    Integer deleteMovementComment(Comment comment);

    //根据被操作人id和操作类型查询
    PageBeanVo findCountComment(Long userId, Integer commentType, Integer pageNum, Integer pageSize);

    //动态评论列表
    PageBeanVo findMovementComment(String messageID, Integer pageNum, Integer pageSize);

    //保存点赞
    void likeVideo(Comment comment);
    //取消点赞
    void dislikeVideo(Comment comment);

    void saveVideoComment(Comment comment);
}